package arrayx

import "gitee.com/zhongguo168a/gocodes/datax/convertx"

func Any(t []interface{}, index int) (r interface{}) {
	if t == nil {
		return
	}

	if index >= len(t) {
		return
	}
	return t[index]
}

func String(t []interface{}, index int) (r string) {
	return convertx.AnyToString(Any(t, index))
}
